﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;

namespace CommunitySystemModel
{
    [Serializable]
    [DataContract]
    public class BAS_RKXXModel : INotifyPropertyChanged
    {
        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public string XM
        {
            get;
            set;
        }

        [DataMember]
        public int XB { get; set; }

        [DataMember]
        public string MZ { get; set; }

        [DataMember]
        public DateTime? CSRQ { get; set; }

        [DataMember]
        public string ZJHM { get; set; }
        [DataMember]
        public string MQLB { get; set; }
        [DataMember]
        public string ZYLB { get; set; }
        [DataMember]
        public int SSCJ { get; set; }
        [DataMember]
        public int RKLB { get; set; }
        [DataMember]
        public int HJLB { get; set; }
        [DataMember]
        public int ZT { get; set; }
        [DataMember]
        public string JG { get; set; }
        [DataMember]
        public string CSD { get; set; }
        [DataMember]
        public string WHCD { get; set; }
        [DataMember]
        public int HYZK { get; set; }
        [DataMember]
        public string JKZK { get; set; }
        [DataMember]
        public string ZZMM { get; set; }
        [DataMember]
        public string LXFS { get; set; }
        [DataMember]
        public string GZDW { get; set; }
        [DataMember]
        public string XZ { get; set; }
        [DataMember]
        public string YHZGX { get; set; }
        [DataMember]
        public DateTime? ZXGXSJ { get; set; }
        [DataMember]
        public int ZJZL { get; set; }
        [DataMember]
        public string XMQP { get; set; }
        [DataMember]
        public string XMSP { get; set; }
        [DataMember]
        public string CYM { get; set; }
        [DataMember]
        public string HJDXZQH { get; set; }
        [DataMember]
        public string HJDLM { get; set; }
        [DataMember]
        public string HJDXZ { get; set; }
        [DataMember]
        public string HJDYJMP { get; set; }
        [DataMember]
        public string HJDYJMPDSH { get; set; }
        [DataMember]
        public string HJDEJMP { get; set; }
        [DataMember]
        public string HJDEJMPDSH { get; set; }
        [DataMember]
        public string JZDXZQH { get; set; }
        [DataMember]
        public string JZDLM { get; set; }
        [DataMember]
        public string JZDXZ { get; set; }
        [DataMember]
        public string JZDYJMP { get; set; }
        [DataMember]
        public string JZDYJMPDSH { get; set; }
        [DataMember]
        public string JZDEJMP { get; set; }
        [DataMember]
        public string JZDEJMPDSH { get; set; }
        [DataMember]
        public string POXM { get; set; }
        [DataMember]
        public string POZJHM { get; set; }
        [DataMember]
        public string ZY { get; set; }
        [DataMember]
        public string ZJXY { get; set; }
        [DataMember]
        public string BYZK { get; set; }
        [DataMember]
        public string SG { get; set; }
        [DataMember]
        public string XX { get; set; }
        [DataMember]
        public string GJ { get; set; }
        [DataMember]
        public int MAPID { get; set; }
        [DataMember]
        public int HJFWID { get; set; }
        [DataMember]
        public int JZFWID { get; set; }
        [DataMember]
        public string BZ { get; set; }

        [DataMember]
        public int FwId { get; set; }

        #region INotifyPropertyChanged 成员

        public event PropertyChangedEventHandler PropertyChanged;
        public void OnPropertyChanged(string PropName)
        {
            if (PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(PropName));
            }
        }
        #endregion
    }


    [DataContract]
    public class RKXXViewDb
    {
        [DataMember]
        public int ID { get; set; }
        [DataMember]
        public string XM { get; set; }
        [DataMember]
        public string XB { get; set; }
        [DataMember]
        public string ZJHM { get; set; }
        [DataMember]
        public string MZ { get; set; }
        [DataMember]
        public string ZZMM { get; set; }
        [DataMember]
        public string FWLB { get; set; }
        [DataMember]
        public string LXFS { get; set; }
        [DataMember]
        public string JG { get; set; }
        [DataMember]
        public string JZDXZ { get; set; }
        [DataMember]
        public string RKLB { get; set; }

        [DataMember]
        public string YHZGX { get; set; }
    }


    [DataContract]
    public class FamilyMememberObj
    {
        [DataMember]
        public int Id { get; set; }
        [DataMember]
        public string mGx { get; set; }
        [DataMember]
        public string mXm { get; set; }
        [DataMember]
        public string mXb { get; set; }
        [DataMember]
        public string mZjhm { get; set; }
        [DataMember]
        public string mMz { get; set; }
        [DataMember]
        public string mZzmm { get; set; }
        [DataMember]
        public string mJkzk { get; set; }
        [DataMember]
        public string mGzdw { get; set; }
        [DataMember]
        public string mLxfs { get; set; }
        [DataMember]
        public string mMqlx { get; set; }
        [DataMember]
        public string mZylb { get; set; }
        [DataMember]
        public string mBz { get; set; }
        [DataMember]
        public int mGxSeque { get; set; }
    }
    [DataContract]
    public class RKXXFamilyMemberActionObj
    {
        [DataMember]
        public BAS_RKXXModel CuRKXX { get; set; }

        [DataMember]
        public FamilyMememberObj CuFmo { get; set; }
        [DataMember]
        public string CuKey { get; set; }

        /// <summary>
        /// -1未操作,0添加,1修改,2删除
        /// </summary>

        [DataMember]
        public int ActionMode { get; set; }
        [DataMember]
        public string ErrorMessage { get; set; }

    }



}
